package com.graduation.springbootinit.model.entity.ShopPart;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("shop_part_platform_monthly_income")
public class PlatformMonthlyIncome {
    @TableId(type = IdType.AUTO)
    private Long id;
    
    /**
     * 年份
     */
    private Integer year;
    
    /**
     * 月份(1-12)
     */
    private Integer month;
    
    /**
     * 月度总佣金收入
     */
    private BigDecimal totalCommission;
    
    /**
     * 当月活跃商铺数
     */
    private Integer totalStores;
    
    /**
     * 创建时间
     */
    private LocalDateTime createdAt;
    
    /**
     * 更新时间
     */
    private LocalDateTime updatedAt;
}